from rest_framework import serializers

from .rank_models import RankModel


class RankSerializer(serializers.HyperlinkedModelSerializer):
    class Meta:
        model = RankModel
        fields = ['userId', 'userName', 'userRankElo', 'userAvatarUrl']
